import Vue from 'vue'
import {
  Button,
  Tabbar,
  TabbarItem,
  Swipe,
  SwipeItem,
  PullRefresh,
  NavBar,
  Search,
  Icon,
  Grid,
  GridItem,
  Tag,
  IndexBar,
  IndexAnchor,
  Cell,
  CellGroup,
  Tab,
  Tabs,
  DropdownMenu,
  DropdownItem,
  Rate,
  Field,
  Uploader,
  Toast,
  ActionSheet,
  Popup,
  Skeleton,
  List,
  RadioGroup,
  Radio,
  Dialog
} from 'vant'

import 'vant/lib/button/style'
import 'vant/lib/tabbar/style'
import 'vant/lib/tabbar-item/style'
import 'vant/lib/swipe/style'
import 'vant/lib/swipe-item/style'
import 'vant/lib/pull-refresh/style'
import 'vant/lib/nav-bar/style'
import 'vant/lib/search/style'
import 'vant/lib/icon/style'
import 'vant/lib/grid/style'
import 'vant/lib/grid-item/style'
import 'vant/lib/tag/style'
import 'vant/lib/index-bar/style'
import 'vant/lib/index-anchor/style'
import 'vant/lib/cell/style'
import 'vant/lib/cell-group/style'
import 'vant/lib/tab/style'
import 'vant/lib/tabs/style'
import 'vant/lib/dropdown-item/style'
import 'vant/lib/dropdown-menu/style'
import 'vant/lib/rate/style'
import 'vant/lib/field/style'
import 'vant/lib/uploader/style'
import 'vant/lib/toast/style'
import 'vant/lib/action-sheet/style'
import 'vant/lib/popup/style'
import 'vant/lib/skeleton/style'
import 'vant/lib/list/style'
import 'vant/lib/radio-group/style'
import 'vant/lib/radio/style'
import 'vant/lib/dialog/style'

Vue.use(Button)
Vue.use(Tabbar).use(TabbarItem)
Vue.use(Swipe).use(SwipeItem)
Vue.use(PullRefresh)
Vue.use(NavBar)
Vue.use(Search)
Vue.use(Icon)
Vue.use(Grid).use(GridItem)
Vue.use(Tag)
Vue.use(IndexBar).use(IndexAnchor)
Vue.use(Cell).use(CellGroup)
Vue.use(Tab).use(Tabs)
Vue.use(DropdownMenu).use(DropdownItem)
Vue.use(Rate)
Vue.use(Field)
Vue.use(Uploader)
Vue.use(Toast)
Vue.use(ActionSheet)
Vue.use(Popup)
Vue.use(Skeleton)
Vue.use(List)
Vue.use(RadioGroup)
Vue.use(Radio)
Vue.use(Dialog)
